package timing.ukulele.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import timing.ukulele.auth.model.ScopeWithDescription;

import java.util.Set;

@Schema(description = "授权确认参数")
@Data
public class ConsentParameterVO {
    @Schema(description = "clientId", example = "xxxxxxxxxxxxxxxx")
    private String clientId;
    @Schema(description = "clientName", example = "xxxxxxxxxxxxxxxx")
    private String clientName;
    @Schema(description = "state", example = "xxxxxxxxxxxxxxxx")
    private String state;
    @Schema(description = "所有scope", example = "user profile portal")
    private Set<ScopeWithDescription> scopes;
    @Schema(description = "已经授权过的scope", example = "user profile")
    private Set<ScopeWithDescription> previouslyApprovedScopes;
    @Schema(description = "principalName", example = "admin")
    private String principalName;
    @Schema(description = "userCode", example = "1234")
    private String userCode;
    @Schema(description = "重定向地址", example = "https://xxx.xxx.xxx")
    private String requestURI;
}
